using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XFGameFramework;
using XFGameFramework.ArchiveSystem;
public enum Period
{
    Morning=1,   // 早晨
    Afternoon, // 下午
    Evening,   // 傍晚
    Night      // 夜晚
}
public class TimeModel : IArchiveModel
{
    public int Id
    {
        get; set;
    }
    public int days;
    public int hours;
    public int minutes;
    /// <summary>
    /// 当前时段
    /// </summary>
    public Period currentPeriod;
    /// <summary>
    /// 距离下一个时段的剩余时间
    /// </summary>
    public int remainingTime;
    public TimeModel()
    {
        days = 0;
        hours = 6;
        minutes = 0;
        currentPeriod = Period.Morning;
        remainingTime = 6;
    }
}
